

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改页面</title>
</head>
<body>
<%--进行登录校验 没有登录 重定向到登录页面--%>
       <%-- <%

            //拿到请求行中当前要修改的用户信息,回显到表单中
            String sid = request.getParameter("sid");
            String username1 = request.getParameter("username");
            String age = request.getParameter("age");
            String score = request.getParameter("score");
        %>--%>
<form action="/stu/upDate" method="get" autocomplete="on">
    <input type="hidden" name="sid" value="${pageContext.request.getParameter("sid")}">
    学生姓名:<input align="left" name="username" value="${pageContext.request.getParameter("username")}"> <br>
    学生年龄:<input type="number" name="age" value="${pageContext.request.getParameter("age")}"><br>
    学生成绩:<input  type="number" name="score" value="${pageContext.request.getParameter("score")}"><br>
    <button type="submit">修改</button>

</form>


</body>
</html>
